/*
 * test.cpp
 *
 *  Created on: 2008-12-2
 *      Author: Ocsik
 */

#include<string>
#include<conio.h>
#include<iostream>
#include"KMP.h"
using std::cout;
using std::string;
using std::endl;

int main(void)
{
	string p = "hehehellow";
	string t = "wolhehellowhehehehehellow";
	int i = 0;
	i = KMP(p,t);
	cout<<i<<endl;
	getch();
	return 0;
}
